package com.yuandian.middle.platform.service;

import com.yuandian.api.middle_platform.po.OrgAbilityParam;
import com.yuandian.bpm.common.core.util.R;

/**
 * 说明：服务调用详情查询接口
 * @Author tianlr
 * @Date 2023/5/23 14:10
 */
public interface IServerDetailService {
    /**
     * 查询中断时长趋势
     * @param param
     * @return
     */
    public R selectDataInterruptTimeTrend(OrgAbilityParam param);

    /**
     * 查询访问量最大的服务器TopN
     * @return
     */
    public R selectDataRequestCountTopN(OrgAbilityParam param);

    /**
     * 查询新建会话量最大的服务器TopN
     * @return
     */
    public R selectDataNewSessionCountTopN(OrgAbilityParam param);

    /**
     * 查询系统返回码统计
     * @param param
     * @return
     */
    public R selectDataServerResCodeStatistics(OrgAbilityParam param);

    /**
     * 查询业务返回码统计
     * @param param
     * @return
     */
    public R selectDataBusinessResCodeStatistics(OrgAbilityParam param);

    /**
     * 查询TCP分析数据
     * @param param
     * @return
     */
    public R selectDataTcp(OrgAbilityParam param);

    /**
     * 查询服务调用详情
     * @param param
     * @return
     */
    public R selectDataDetail(OrgAbilityParam param);
}
